< previous page page_308 next page >

Page 308
warning.gif
If you don't have a reference to the data-access object layer in your project, you cannot access any of the features of the Microsoft Jet database engine.

If you can't tell whether your reference to the data access object is activated, select Project | References . . . from the Visual Basic main menu. Use Figure 9.1 as a reference.
0308-01.jpg
Figure 9.1.
Reviewing the data-access object reference.
Throughout this chapter you'll be using the Microsoft Jet 3.5 data engine. This is the most recent version of the data engine available. You can use older versions of the data engine to maintain compatibility with earlier Visual Basic projects, but it is recommended that you use Microsoft Jet 3.5 for all future projects.
The DBEngine Data Object
The DBEngine data object is the default data object for all access to the database operations under Visual Basic. Even if you do not explicitly use the DBEngine object, your program is still accessing all other data objects by way of the DBEngine object because it is invoked by default when Visual Basic begins any database work.
Tip.gif
Even though Visual Basic does not require that you explicitly use the DBEngine data object, you should use the object in all your future Visual Basic projects to ensure maximum compatibility with any future versions of Visual Basic.

 
< previous page page_308 next page >

If you like this book, buy it!